UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The Photon operating system audit log must be group-owned by root.


Overview

Finding ID Version Rule ID IA Controls Severity
V-256495 PHTN-30-000018 SV-256495r887159_rule Medium
Description
Audit information includes all information (e.g., audit records, audit settings, audit reports) needed to successfully audit operating system activity. Unauthorized disclosure of audit records can reveal system and configuration data to attackers, thus compromising its confidentiality.
STIG Date
VMware vSphere 7.0 vCenter Appliance Photon OS Security Technical Implementation Guide 2023-06-15

Details

Check Text ( C-60170r887157_chk )
At the command line, run the following command:

# (audit_log_file=$(grep "^log_file" /etc/audit/auditd.conf|sed s/^[^\/]*//) && if [ -f "${audit_log_file}" ] ; then printf "Log(s) found in "${audit_log_file%/*}":\n"; stat -c "%n is group owned by %G" ${audit_log_file%}*; else printf "audit log file(s) not found\n"; fi)

If any audit log file is not group owned by root, this is a finding.
Fix Text (F-60113r887158_fix)
At the command line, run the following command:

# chown root:root

Replace with the log files not group owned by root.